import React, { Component } from 'react';
import './Allgood.scss'
import Myheadr from '../../components/classify/Myheader'
import Tabs from '../../components/allgood/Tabs'
import Container from '../../components/allgood/Container'

class Allgood extends Component {
    
    render() {
        return (
            <div className='allGood'>
                <Myheadr title='全部商品' ></Myheadr>
                <Tabs></Tabs>
                <Container id={this.props.history.location.state ? this.props.history.location.state.id : ""} searchkey={this.props.history.location.state ? this.props.history.location.state.searchkey : ""}
                pathnames={this.props.history.location.state ? this.props.history.location.state.pathnames : ""}></Container>
            </div>
        );
    }
}

export default Allgood;